var commonUtil = require("../../../utils/commonUtil.js")
var globalData = getApp().globalData;
var httpsUrl = globalData.httpsUrl;
var imgUrl = globalData.imgUrl;
Page({

  data: {
    imgUrl: imgUrl,
    list: [],
    info: [],
  },
  onLoad: function (options) {
    let info = wx.getStorageSync("voucherInfo");
    console.log("info:"+JSON.stringify(info));
    let code = "http://qr.topscan.com/api.php?text=" + info.coupon_no;
    console.log(code);
    this.setData({ info: info,code:code })
  },
})